package cate.common.table.item.inscription.sheet;

import cate.common.table.ESheet;
import cate.common.table.item.inscription.row.InscriptionBaseRow;

public class InscriptionBaseSheet extends ESheet<InscriptionBaseRow> {
    @Override
    public String getSheetName() {
        return "铭文基础";
    }

    public InscriptionBaseRow getRowByProtoIdAndLevel(int protoId,int level) {
        for (InscriptionBaseRow row :
                getList()) {
            if (row.protoId == protoId && row.level == level) {
                return row;
            }
        }
        return null;
    }
}
